<li class="span3" id="photo_<?= $this->p['id'] ?>">
    <div class="thumbnail">
        <div class="thumbnail_contnet">
            <img src="<?= $this->url(array('token' => $this->token, 'id' => $this->p['id'], 'width' => 300, 'height' => 300), 'catalogImage', true) ?>" alt="<?= $this->escape($this->p['name']) ?>" />
            <div class="actions">
                <a class="removePhotoBtn" data-pid="<?= $this->p['id'] ?>" href="<?= $this->url(array('controller' => 'catalog', 'action' => 'delete-photo', 'token' => $this->token, 'id' => $this->p['id']), 'default', true) ?>" title="<?= $this->translate('XXX_CATALOG_ADD_PHOTO_ACTION_DELETE_TOOLTIP') ?>"><i class="icon-remove icon-white"></i></a>
            </div>
        </div>
    </div>
</li>